package com.lplb.api.admin.service.rpc;

import com.lplb.api.admin.model.dto.AdminAuthDTO;
import com.lplb.api.admin.model.vo.AdminAuthVO;
import com.lplb.common.core.result.R;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.List;

/**
 * <p>
 * 资源表  PRC 服务接口
 * </p>
 *
 * @author ws
 * @date 2020-07-21
 */
@Api(value = "RIAdminAuthService", tags = "rpc--资源表")
@RequestMapping(value = "/rpc/adminAuth", name = "资源表")
public interface RIAdminAuthService {

    @RequestMapping(value = "/findList", method = RequestMethod.GET)
    @ApiOperation("查询所有")
    R<List<AdminAuthVO>> findList();

    @RequestMapping(value = "/updList", method = RequestMethod.POST)
    @ApiOperation("添加更新管理平台接口注意")
    R<Void> updList(@RequestBody List<AdminAuthDTO> adminAuthDTO);
}
